<div class="widget-box">
<div class="widget-title">
    <span class="icon"><i class="icon-filter"></i></span>
    <h5>Clientes / Filtro</h5>
</div>
<div class="widget-content">
<?php 
$atrFrm = array('class' => 'form-inline', 'id' => 'frm_filter_clie');
$atr_lbl = array( 'class' => 'control-label');
$atrBtn = array('class' => 'btn btn-inverse','type' => 'submit');
echo form_open('clientes/result_filter_clie',$atrFrm);
?>
<?php echo form_label('Tipo de Cliente ','',$atr_lbl);?>
<select class="" name="id_tclie" id="id_tclie">
    <?php foreach($tcliente as $row){ ?>
    <option value="<?php echo $row->id_tclie ?>"><?php echo $row->desc_tclie ?></option>
    <?php }?>
</select>

<?php echo form_label('Estado ','',$atr_lbl);?>
<select class="" name="estado_clie" id="estado_cliente">
    <?php foreach($estadocliente as $row){ ?>
    <option value="<?php echo $row->estado_value ?>"><?php echo $row->estado_desc ?></option>
    <?php }?>
</select>

<?php
echo form_button($atrBtn,'Generar Listado');
?>
<div id="btn_print" style="display:none; margin-left: 15px;" class="btn btn-small">
    <i class="icon-arrow-down"></i>
    <?php 
    $atts = array('width' => '600','height' => '800','scrollbars' => 'no','toolbar' => 'no', 'location' => 'no', 'directories' => 'no', 'status' => 'no', 'menubar' => 'no','resizable' => 'no','screenx' => '250','screeny' => '50');
    echo anchor_popup('clientes/doc-listado','Descargar Lista',$atts)?>     
</div>
<?php
echo form_close();
?>
</div>
</div>
<div id="filter_result"></div>